logger object

string header_text
This will be the string that will be prepended to any log file. This can be useful, for example, if you need to log when the program started. Default is blank.

string footer_text
This will be the string that will be appended to any log file. This can be useful if you need to log when the program ended. Default is blank.

string date_format
This specifies the date and time format that the log will use. This is fully customisable, and can be any text, using the following combinations as date and time controllers enclosed in < and > signs (less than/greater than signs).
Default value is "<dd>/<mm>/<y>, <hh>:<nn>:<ss> <tt>".

bool date_all_entries
This specifies whether all logged entries should be dated. If set to true, all entries will be dated. If set to false, no entries are dated unless you manually enter the date. Default value is false.

bool overwrite_file
This specifies whether the log file will be appended to or overwritten. Set this to true to overwrite the file, or false to append. Default value is false.

bool always_include_header
Specifies whether the header should always be included in the log. This property is ignored if the header_text property is blank. Default is false.